const express = require('express')

const app = express()

app.get('/index2',(req,res)=>{
    res.json({
        code:200,
        message:'index2返回数据'
    })
})

app.listen(8888,()=>{
    console.log('index.js==========>','http://localhost:8888/index2')
})